
package com.lonely.order.domain.dto.split;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 订单分单请求实体
 *
 * @author fzzf
 */
@Data
public class SplitOrderDTO implements Serializable {

    /**
     * 订单号集合
     */
    @NotEmpty(message = "订单id为空")
    private List<String> produceOrderIds;

    /**
     * 工厂id
     */
    @NotNull(message = "工厂id为空")
    private Long factoryId;

    /**
     * 分单类型
     */
    private Integer type;

    /**
     * 产线id
     */
    private Long productionLineId;

    /**
     * 期望回货时间
     */
    private String expectedReturnTime;

    /**
     * 工价倍率
     */
    private String priceMultiple;

}
